/*******************************************************************************
 * Copyright (c) 2008, 2013 Innoopract Informationssysteme GmbH and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    Innoopract Informationssysteme GmbH - initial API and implementation
 *    EclipseSource - ongoing development
 ******************************************************************************/

/* Button property defaults */

Button {
  font: 14px Arial, sans-serif;
  background-image: none;
  background-repeat: repeat;
  background-position: left top;
  border: none;
  border-radius: 0;
  padding: 6px 15px;
  spacing: 2px;
  cursor: default;
  animation: none;
  color: #4a4a4a;
  background-color: #ffffff;
  opacity: 1;
  text-shadow: none;
  text-decoration: none;
  box-shadow: none;
}

Button[PUSH],
Button[TOGGLE],
Button[ARROW],
Button[BORDER] {
  border: 1px solid #aaaaaa;
}

Button[ARROW] {
  padding: 4px;
  border: 1px solid #aaaaaa;
}

Button[CHECK],
Button[RADIO] {
  padding: 3px 3px 3px 3px;
  spacing: 7px;
}

Button-CheckIcon {
  background-image: url( resource/widget/rap/button/check-unselected.png );
}

Button-CheckIcon:selected {
  background-image: url( resource/widget/rap/button/check-selected.png );
}

Button-CheckIcon:selected:grayed {
  background-image: url( resource/widget/rap/button/check-grayed.png );
}

Button-RadioIcon {
  background-image: url( resource/widget/rap/button/radio-unselected.png );
}

Button-RadioIcon:selected {
  background-image: url( resource/widget/rap/button/radio-selected.png );
}

Button-ArrowIcon[UP] {
  background-image: url( resource/widget/rap/button/arrow-up.png );
}

Button-ArrowIcon[DOWN] {
  background-image: url( resource/widget/rap/button/arrow-down.png );
}

Button-ArrowIcon[LEFT] {
  background-image: url( resource/widget/rap/button/arrow-left.png );
}

Button-ArrowIcon[RIGHT] {
  background-image: url( resource/widget/rap/button/arrow-right.png );
}

Button-FocusIndicator {
  background-color: transparent;
  border: 1px dotted #aaaaaa;
  margin: 2px;
  padding: 0px;
  opacity: 1;
}
